package com.fcscs.cservice.client.common.model.restaurants;

import com.fcscs.core.common.MainEnums.HasDisplayString;
import com.fcscs.core.gwt.common.CoreConstants;
import com.fcscs.cservice.client.common.CServiceConstants;

public enum RestaurantSearchItemEnum implements HasDisplayString {
	NAME(0, CoreConstants.CORE_CONSTANTS.name()),
	BOOKINGSTATUS(1,CServiceConstants.CSERVICE_CONSTANTS.bookingStatus()),
	DATE(2, CoreConstants.CORE_CONSTANTS.date()),
	GUESTTYPE(3,CServiceConstants.CSERVICE_CONSTANTS.guestType());
	

	private String displayStr;
	private int index;

	private RestaurantSearchItemEnum(int index, String displayStr) {
		this.displayStr = displayStr;
		this.index = index;
	}

	@Override
	public String getDisplayStr() {
		return displayStr;
	}

	public int getIndex() {
		return index;
	}
}
